
# 写入表格

# import openpyxl
# def op_toExcel(data, fileName):
#     wb = openpyxl.Workbook()
#     ws = wb.active
#     ws.title = "Sheet1"
#     # 写入表头
#     # ws.append(['序号', '酒店', '价格'])
#     # 写入数据
#     for row in data:
#         ws.append(row)
#         wb.save(fileName)

# op_toExcel(a_list, '测试.xlsx')